Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
SetRowSegments(Int32,Int32,Byte[],Int32,Int32[],Int32,Int32,Boolean) Method
See Also 
Leadtools Namespace > RasterImage Class > SetRowSegments Method : SetRowSegments(Int32,Int32,Byte[],Int32,Int32[],Int32,Int32,Boolean) Method




row
0-based row index
column
0-based column index
buffer
The scanline buffer
bufferOffset
0-based index into buffer
segments
Segments buffer
segmentsOffset
0-based index into segments
segmentCount
Number of segments in segments
preserveAlpha
A value indicating whether to preserve the alpha values in 32 and 64-bit images.
For internal use by LEADTOOLS.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetRowSegments( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal buffer() As Byte, _
   ByVal bufferOffset As Integer, _
   ByVal segments() As Integer, _
   ByVal segmentsOffset As Integer, _
   ByVal segmentCount As Integer, _
   ByVal preserveAlpha As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim row As Integer
Dim column As Integer
Dim buffer() As Byte
Dim bufferOffset As Integer
Dim segments() As Integer
Dim segmentsOffset As Integer
Dim segmentCount As Integer
Dim preserveAlpha As Boolean
 
instance.SetRowSegments(row, column, buffer, bufferOffset, segments, segmentsOffset, segmentCount, preserveAlpha)
C# 
public void SetRowSegments( 
   int row,
   int column,
   byte[] buffer,
   int bufferOffset,
   int[] segments,
   int segmentsOffset,
   int segmentCount,
   bool preserveAlpha
)
Managed Extensions for C++ 
public: void SetRowSegments( 
   int row,
   int column,
   byte[]* buffer,
   int bufferOffset,
   int[]* segments,
   int segmentsOffset,
   int segmentCount,
   bool preserveAlpha
) 
C++/CLI 
public:
void SetRowSegments( 
   int row,
   int column,
   array<byte>^ buffer,
   int bufferOffset,
   array<int>^ segments,
   int segmentsOffset,
   int segmentCount,
   bool preserveAlpha
) 

Parameters

row
0-based row index
column
0-based column index
buffer
The scanline buffer
bufferOffset
0-based index into buffer
segments
Segments buffer
segmentsOffset
0-based index into segments
segmentCount
Number of segments in segments
preserveAlpha
A value indicating whether to preserve the alpha values in 32 and 64-bit images.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also